package com.laowang.project.system.domain;

import com.laowang.framework.aspectj.lang.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.*;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

/**
 * 活动邀请码对象 my_cyh_activity_code
 *
 * @author laowang
 * @date 2023-07-03
 */
@NoArgsConstructor
@Data
public class MyCyhActivityCode implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    @ApiModelProperty(value = "${comment}", required = false)
    private Integer id;

    /**
     * 活动id
     */
    @Excel(name = "活动id")
    @ApiModelProperty(value = "活动id", required = false)
    private Integer activityId;

    /**
     * 1上架,0下架
     */
    @Excel(name = "1上架,0下架")
    @ApiModelProperty(value = "1上架,0下架", required = false)
    private Integer isEnable;



    /**
     * 邀请码
     */
    @Excel(name = "邀请码")
    @ApiModelProperty(value = "邀请码", required = false)
    private String invitationCode;

    @Transient
    private String activityName;

    private BigDecimal price;//抵扣金额


    @Transient
    private List<Integer> listIds ;
}
